(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.ListingModel = (function(_super) {

    __extends(ListingModel, _super);

    function ListingModel() {
      return ListingModel.__super__.constructor.apply(this, arguments);
    }

    ListingModel.prototype.changeSize = function(newSize) {
      this.attributes.Page = Math.floor(((this.attributes.Page - 1) * this.attributes.Size) / newSize + 1);
      return this.attributes.Size = newSize;
    };

    return ListingModel;

  })(CustomModel);

}).call(this);
